﻿<%@ Page Language="C#" MasterPageFile="~/Shared/Masters/Form.master" AutoEventWireup="true" CodeFile="MyMessageAdd.aspx.cs" 
Inherits="Modules_Default_MyMessageAdd" Title="我的消息" %>

<asp:Content ID="Content2" ContentPlaceHolderID="idFormMain" Runat="Server">

    <h2>
       <asp:Label ID="lblTitle" runat="server" Text="我的消息" ></asp:Label>
    </h2>
<div>
    <table cellpadding='2' cellspacing='1' class='ow_fim_mg' width='100%'>
                <tr>
                    <td class='fi_l'>
                        <asp:Label ID="lbCode" runat="server" Text="标题:"></asp:Label><font color='red'>*</font>
                    </td>
                    <td class='fi_r' colspan="3">
                        <asp:TextBox ID='txtTitle' runat='server' Width='120px' MaxLength="50"
                            ></asp:TextBox>
                            <asp:RequiredFieldValidator ID="reqTitle" runat="server" ErrorMessage="请输入标题" ValidationGroup="oss"
                    ControlToValidate="txtTitle">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class='fi_l'>
                        <asp:Label ID="lbName" runat="server" Text="内容:"></asp:Label>
                    </td>
                    <td class='fi_r' colspan="3">
                        <asp:TextBox ID="txtContent" runat="server" TextMode="MultiLine" Rows="10" Width='300px' MaxLength='4000'></asp:TextBox>
                        </td>
                </tr>
                <tr>
                   <td class='fi_l'>
                        <asp:Label ID="lbStatus" runat="server" Text="接收人:"></asp:Label><font color='red'>*</font>
                    </td>
                    <td class='fi_r' colspan="3">
                        <asp:CheckBoxList ID="chkUserList" runat="server" RepeatColumns="3">
                        </asp:CheckBoxList></td>
                </tr>
            </table>
</div>

<asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
        ShowSummary="False" ValidationGroup="oss" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="idFormButton" Runat="Server">
  <asp:Button ID="btnSave" runat="server" Text="保存"  ValidationGroup="oss"
        OnClick="btnSave_Click" />
    <asp:Button ID="CloseButton" runat="server" Text="关闭" 
        OnClientClick="return closeForm();" />   
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="idScript" runat="Server">

    <script type="text/javascript">
        function closeForm() {
            window.returnValue="false";
            window.opener=null;
            window.close();
            return false;
        }
    </script>

</asp:Content>



